package director;

import behavior.state.ProjectStartupContext;
import behavior.state.StateFactory;

public class StateDirector {

    public static void main(String[] args) {
        ProjectStartupContext context = new ProjectStartupContext(StateFactory.STARTING);
        while(!context.isTerminalState()){
            context.dispatch();
        }
        context.dispatch();
    }
}
